﻿using IBll;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Model;

namespace WebApi.Controllers
{
    [Route("api/[controller]/[action]")]
    [ApiController]
    public class PgassController : ControllerBase, IPgassBll
    {
         public PgassController(IPgassBll bll)
        {
            Bll = bll;
        }

        public IPgassBll Bll { get; }

        [HttpGet]
        public PgassdTO Showw(int index, int size)
        {
           return Bll.Showw(index, size);

        }
    }
}
